package com.tanhua.server.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:Mr.yuan
 * @Description:
 * @Date: Created in 9:03 2021/1/17
 * @ModifiedBy:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Options {
    //选项编号
    @TableField(exist = false)
    private String id;
    //所属的question
    @TableField("id")
    @JsonIgnore
    private Integer ids;
    @JsonIgnore
    private String qid;
    //选项
    @TableField("`option`")
    private String option;
    //分数
    @JsonIgnore
    private Integer score;

}
